package com.migration.model.olddb;

import jakarta.persistence.*;
import lombok.Data;
import java.io.Serializable;

/**
 * 部门角色用户表 实体类
 * 表名：sys_depart_role_user
 * 自动生成的实体类
 */
@Data
@Entity
@Table(name = "sys_depart_role_user")
public class SysDepartRoleUser implements Serializable {

    private static final long serialVersionUID = 1L;
    
    /**
     * 主键id
     * 主键
     */
    @Id
    @Column(name = "id", nullable = false, length = 32)
    private String id;
    
    /**
     * 用户id
     */
    @Column(name = "user_id", length = 32)
    private String userId;
    
    /**
     * 角色id
     */
    @Column(name = "drole_id", length = 32)
    private String droleId;
    
    @Override
    public String toString() {
        return "SysDepartRoleUser{" +
            "id=" + id +
            ", userId=" + userId +
            ", droleId=" + droleId +
        '}';
    }
} 